/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */
package org.jaxson.struts.charts.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.jfree.data.general.Dataset;

/**
 * Annotation mapping a method to a particular key
 * in a dataset.
 * 
 * @author Joe Maisel
 *
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
//@Target(value=ElementType.METHOD)
public @interface DatasetMapping
{
	String key() default "";
	String title() default "";
	String bundleKey() default "";
	String rowKey() default "";
	String columnKey() default "";
	String bundleName() default "";
	Class<? extends Dataset> type();
}
